<?php
/**
 * Created by PhpStorm.
 * User: hahastein
 * Date: 2018/8/22
 * Time: 0:36
 */

namespace Api\Controller;

class BaseController extends \Think\Controller
{
    protected $options;

    public function __construct()
    {
        parent::__construct();

        $this->options = array(
            'app_id' => 'wxeaa875ece47c486b',
            'secret' => '94deb4786bc203cb9f9c6d0968fdf4ee',
            'response_type' => 'array',
            'payment' => array(
                'merchant_id'        => '1508667791',//1468612802
                'key'                => 'CA97tt17mD2hj89spo67RQ92uGaoChao',
                'notify_url'         => 'http://delmar.bengboom.com/api/pay/notify'
            ),
            'guzzle' => array(
                'timeout' => 3.0, // 超时时间（秒）
                'verify' => false, // 关掉 SSL 认证（强烈不建议！！！）
            )
        );

    }

}